package com.yuyou.fn.educational.service;

import com.github.wens.framework.service.ISuperService;
import com.github.wens.mybatisplus.plugins.Page;
import com.yuyou.fn.educational.entity.ArrangeTeacherHistory;
import com.yuyou.fn.educational.vo.ArrangeTeacherHistoryDetailVo;
import com.yuyou.fn.educational.vo.ArrangeTeacherHistoryQueryVo;
import com.yuyou.fn.platform.permission.DataPermission;
import org.apache.poi.xssf.streaming.SXSSFWorkbook;

import java.util.List;

/**
 *
 * ArrangeTeacherHistory 表数据服务层接口
 *
 */
public interface IArrangeTeacherHistoryService extends ISuperService<ArrangeTeacherHistory,Long> {

    Page<ArrangeTeacherHistoryDetailVo> findArrageTeacherHistoryPage(DataPermission dataPermission,ArrangeTeacherHistoryQueryVo arrangeTeacherHistoryQueryVo, int pageNo, int pageSize);

    SXSSFWorkbook exportArrageTeacherHistory(DataPermission dataPermission, ArrangeTeacherHistoryQueryVo arrangeTeacherHistoryQueryVo) ;

    List<ArrangeTeacherHistoryDetailVo> findLimitList(ArrangeTeacherHistoryQueryVo arrangeTeacherHistoryQueryVo, int start, int end);

    Integer countArrageTeacherHistory(ArrangeTeacherHistoryQueryVo arrangeTeacherHistoryQueryVo);
}